#include <iostream>
#include "graphtypes.h"
#include "Graph.h"

using namespace std;

class GraphNonOrientedMatrix : public GraphNonOriented
{
protected :
  bool **neighbours; //Demi matrice

public :
  GraphNonOriented(summit_t n, edges_t m);
  virtual ~GraphNonOriented();
  virtual bool areConnected(summit_t i, summit_t j) const;
  virtual void setConnection(summit_t i, summit_t j);
  virtual vector<summit_t> * getNeighbours(summit_t v) const;
  virtual void printGraph()const;
};
